// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.changelog-entry {
  display: flex;
  font-size: @font-size--title-small-3;
  padding: 5px 0 5px 1em; // 1em to accomodate title-icon
  flex-direction: column;

  @media @desktop {
    padding-left: 0;
  }

  &__icon {
    opacity: 0.5;
    font-size: 0.7em;
  }

  &__row {
    word-wrap: break-word;

    &--message {
      margin-top: 8px;
    }
  }

  &__title {
    &--major {
      color: @yellow;
    }

    code {
      .default-border-radius();
      background-color: @osu-colour-b5;
      padding: 1px 4px;
    }
  }

  &__title-icon {
    position: absolute;
    margin-left: -1em;
  }

  &__user {
    font-size: @font-size--normal;
    padding-left: 10px;
  }

  &__user-link {
    font-weight: bold;
  }
}
